]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gnome-shell.in: Make xephr available within the scope of run_shell
authorAdel Gadllah <adel.gadllah@gmail.com>
Wed, 22 Sep 2010 18:36:11 +0000 (20:36 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Wed, 22 Sep 2010 18:42:01 +0000 (20:42 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=629304

src/gnome-shell.in

index 794e811d92bf0c8ca83bea7811cc41f004821ea9..163ecfc11d5466fb9f3d8bfd698da3dc1fb168c6 100755 (executable)
@@ -303,6 +303,7 @@ def run_shell(perf_output=None):
         termattrs = termios.tcgetattr(0);
 
     normal_exit = False
+    xephyr = None
 
     if options.verbose:
         print "Starting shell"
@@ -316,7 +317,6 @@ def run_shell(perf_output=None):
             os.environ['GNOME_SHELL_NO_REPLACE'] = '1'
             shell = start_shell()
         else:
-            xephyr = None
             shell = start_shell(perf_output=perf_output)
 
         # Wait for shell to exit